.init-animation(@enter,@exit) {
    &-enter,
    &-appear {
      animation-name: @enter;
    }
    &-exit {
      animation-name: @exit;
    }
  }